﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IBLL
{
    public interface IClassBLL
    {
        DataSet LoadClasses(Nullable<int> Sequence, Nullable<int> PositionType, Nullable<int> EmployeeType);
        DataSet LoadClassList(Nullable<int> Sequence, Nullable<int> EmployeeType, Nullable<int> PosSeq, Nullable<int> FieldSeq, Nullable<int> ClassSpecSeq);
        IList<ClassInfo> ListClasses();
        IList<ClassInfo> ListClasses(string PositionTypes);
        IList<ClassInfo> ListClassesBySequence(int Sequence);

        void Insert(string Name, string NameShort, string NameEng, string NameEngShort
            , string PositionTypes, string EmployeeTypes, string Remarks, int Createdby);
        void Update(int Sequence, string Name, string NameShort, string NameEng, string NameEngShort
            , string PositionTypes, string EmployeeTypes, string Remarks, int UpdatedBy);
        void Delete(int Sequence, int UpdatedBy);
    }
}
